import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import getters from '@/store/getters'
import permission from '@/store/modules/permission'
import app from './modules/app'
import settings from './modules/settings'
import tagsView from './modules/tagviews'
import dict from './modules/dict'
Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    app,
    dict,
    user,
    permission,
    settings,
    tagsView
  },
  getters
})
